package com.baizhi.service;

import com.baizhi.entity.Admin;
import com.github.pagehelper.PageInfo;

import java.util.Map;


public interface AdminService {
    void login(Admin admin);
    PageInfo<Map> selectAll(Integer page, Integer limit);
    void insert(Admin admin);
    void updateByPrimaryKeySelective(Admin admin);
    Admin selectByPrimaryKey(Integer id);
    void deleteByPrimaryKey(Integer id);
    void add(Integer adminId,Integer orderId);

}
